Windows Installation
Method 1: Anaconda Distribution
Complete package with Python, Spyder, and scientific libraries pre-installed.
Recommended for BeginnersMethod 2: Standalone Installation
Install Python and Spyder separately with more control.
Advanced1Download Anaconda
Visit the official Anaconda website and download the Windows installer (64-bit recommended).
Download Anaconda for WindowsStep-by-step download process:
Step 1: Navigate to Anaconda download page and click download
Step 2: Select Windows installer and download
2Run the Installer
- Double-click the downloaded .exe file
- Click "Next" to begin installation
- Read and accept the license agreement
- Choose "Just Me" (recommended) for installation type
- Select installation location (default is fine)
3Important Installation Options
- ✅ Check "Add Anaconda to my PATH environment variable" (makes it easier to use)
- ✅ Check "Register Anaconda as my default Python"
Click "Install" and wait for the installation to complete (may take 10-15 minutes).
4Launch Spyder IDE
After installation:
- Open the Start Menu
- Search for "Anaconda Navigator" or "Spyder"
- Click on Spyder to launch the IDE
1Download Python from Official Website
Visit the official Python website to download the latest version:
Download Python for Windows- Open https://www.python.org/downloads/ in your browser
- The website will automatically detect your Windows system and recommend the latest stable version
- Click the "Download Python" button to download the Windows installer (usually a .exe file)
- Save the file to your Downloads folder or preferred location
2Run the Python Installer
- Navigate to your Downloads folder and double-click the Python installer (.exe file)
- The installer window will open with installation options
- CRITICAL: At the bottom of the first screen, check the box that says "Add Python to PATH"
- Click "Install Now" for the default installation (recommended for beginners)
- Alternatively, click "Customize installation" for more control over installation options
3Complete Installation
- Wait for the installation progress to complete (usually 2-5 minutes)
- If you chose "Customize installation", you can select optional features and installation location
- Once installation is complete, click "Close"
4Verify Python Installation
Open Command Prompt (search for "cmd" in Start Menu) and type:
You should see the Python version number displayed (e.g., "Python 3.12.0").
5Install pip (Package Manager)
pip is Python's package manager that allows you to install additional packages. Modern Python installations usually include pip, but here's how to verify and install it:
Check if pip is already installed:
If pip is not installed, install it using:
Or download and install pip manually:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py
pip install package_name
6Install Spyder
In the Command Prompt, run:
Wait for the installation to complete (may take a few minutes).
7Launch Spyder
In Command Prompt, type:
Or search for "Spyder" in the Start Menu.
✅ Verify Your Installation
Open Spyder and type the following in the console:
print("Hello, Python!")
import sys
print(sys.version)If you see "Hello, Python!" and the Python version, your installation is successful!
macOS Installation
Method 1: Anaconda Distribution
Complete package with Python, Spyder, and scientific libraries pre-installed.
Recommended for BeginnersMethod 2: Standalone Installation
Install Python and Spyder separately with more control.
Advanced1Download Anaconda
Visit the official Anaconda website and download the macOS installer.
Download Anaconda for macOS2Run the Installer
- Open the downloaded .pkg file
- Follow the installation wizard
- Click "Continue" through the introduction screens
- Accept the license agreement
- Select the installation destination (default is fine)
- Click "Install" and enter your Mac password if prompted
3Complete Installation
Wait for the installation to complete (may take 10-15 minutes).
4Launch Spyder IDE
- Open "Anaconda Navigator" from Applications or Launchpad
- Click on "Launch" under Spyder
- Alternatively, open Terminal and type:
spyder
1Download Python from Official Website
Visit the official Python website to download the latest version for macOS:
Download Python for macOS- Open https://www.python.org/downloads/ in your browser
- The website will automatically detect your macOS and recommend the latest stable version
- Click the "Download Python" button to download the macOS installer (.pkg file)
- Choose the correct version for your Mac (Intel or Apple Silicon M1/M2)
2Install Python
- Navigate to your Downloads folder and double-click the Python installer (.pkg file)
- The installer window will open - click "Continue" to proceed
- Read and agree to the license agreement, then click "Continue"
- Select the installation destination (default is usually fine)
- Click "Install" and enter your Mac password when prompted
- Wait for the installation to complete (usually 2-5 minutes)
3Verify Python Installation
Open Terminal (Applications → Utilities → Terminal) and type:
You should see the Python version number displayed (e.g., "Python 3.12.0").
4Install pip (Package Manager)
pip is Python's package manager that allows you to install additional packages. Modern Python installations usually include pip, but here's how to verify and install it:
Check if pip is already installed:
If pip is not installed, install it using:
Or download and install pip manually:
pip3 install package_name
5Install Spyder
In Terminal, run:
Wait for the installation to complete (may take a few minutes).
6Launch Spyder
In Terminal, type:
Alternatively, you can find Spyder in your Applications folder.
✅ Verify Your Installation
Open Spyder and type the following in the console:
print("Hello, Python!")
import sys
print(sys.version)
If you see "Hello, Python!" and the Python version, your installation is successful!
Linux Installation
Method 1: Anaconda Distribution
Complete package with Python, Spyder, and scientific libraries pre-installed.
Recommended for BeginnersMethod 2: Standalone Installation
Install Python and Spyder separately using package manager.
Advanced1Download Anaconda
Visit the official Anaconda website and download the Linux installer.
Download Anaconda for Linux2Install Anaconda
Open Terminal and navigate to your Downloads folder:
Run the installer (replace filename with your downloaded file):
3Complete Installation
- Confirm the installation location (press Enter for default)
- Type "yes" when asked to initialize Anaconda
- Close and reopen your Terminal
4Launch Spyder IDE
In Terminal, type:
Then click "Launch" under Spyder, or directly run:
1Download Python from Official Website
Visit the official Python website to download the latest version for Linux:
Download Python for Linux- Open https://www.python.org/downloads/ in your browser
- The website will recommend the latest stable version
- Click "Download Python" and select "Linux" from the download options
- Download the source code tarball (.tar.xz file) or the Gzipped source tarball (.tar.gz)
- Save the file to your Downloads folder
2Install Dependencies and Compile Python
First, install the build dependencies:
For Ubuntu/Debian:
sudo apt update sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
For Fedora:
sudo dnf groupinstall "Development Tools" sudo dnf install zlib-devel ncurses-devel gdbm-devel nss-devel openssl-devel readline-devel libffi-devel wget
Now extract and compile Python:
cd ~/Downloads tar -xf Python-3.12.0.tar.xz cd Python-3.12.0 ./configure --enable-optimizations
make -j 4 sudo make altinstall
3Alternative: Package Manager Installation
If you prefer an easier method, use your distribution's package manager:
For Ubuntu/Debian:
sudo apt update sudo apt install python3 python3-pip
For Fedora:
sudo dnf install python3 python3-pip
For Arch Linux:
sudo pacman -S python python-pip
4Verify Python Installation
In Terminal, type:
Or if you compiled from source:
You should see the Python version number displayed.
5Install pip (Package Manager)
pip is Python's package manager that allows you to install additional packages. Here's how to verify and install it:
Check if pip is already installed:
pip3 --version
If pip is not installed, install it using:
For Ubuntu/Debian:
sudo apt install python3-pip
For Fedora:
sudo dnf install python3-pip
For Arch Linux:
sudo pacman -S python-pip
Or install pip using Python's built-in module:
python3 -m ensurepip --upgrade
Or download and install pip manually:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py
pip3 install package_name
6Install Spyder
Using pip (recommended for latest version):
pip3 install spyder
Or using your distribution's package manager:
Ubuntu/Debian:
sudo apt install spyder
Fedora:
sudo dnf install spyder
7Launch Spyder
In Terminal, type:
spyder
You can also find it in your applications menu or by searching for "Spyder".
python3 -m spyder
✅ Verify Your Installation
Open Spyder and type the following in the console:
print("Hello, Python!")
import sys
print(sys.version)If you see "Hello, Python!" and the Python version, your installation is successful!